package crm.view.statistic;

import javax.swing.JTree;

import crm.model.teacherPC.Manager;
import crm.view.ClassRoomManagerGUI;

public class StatisticTree extends JTree{
	private ClassRoomManagerGUI gui;
	
	public StatisticTree() {
		super(new StatisticTreeModel(new Manager()));
	}
	
	public StatisticTree(Manager manager) {
		super(new StatisticTreeModel(manager));
//		setRootVisible(false);
		setCellRenderer(new StatisticTreeRender(manager));
	}
}
